package com.ys.spring.biz;

import com.ys.spring.mvc.annotation.Autowire;
import com.ys.spring.mvc.annotation.Controller;
import com.ys.spring.mvc.annotation.GetMapping;
import com.ys.spring.mvc.annotation.RequestMapping;

@Controller("userController")
@RequestMapping("/user")
public class UserController {

    @Autowire
    private UserService userService;

    @GetMapping("getUserName")
    public String getUserName(){
//        String shiyang = userService.getStr("shiyang");
        System.out.println("1111111111111111222222222222222222222");
        return "shiyang";
    }
}
